package com.ujiuye.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderListMapper {

    List<Map<String,Object>> listOrderByWeekOrMonth(@Param("firstDate") Date firstDate,@Param("lastDate") Date lastDate,@Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

    List<Map<String,Object>> listOrderByPhoneNumber(@Param("phoneNumber") String phoneNumber,@Param("currentPage") int currentPage,@Param("pageSize") int pageSize);

    Long count();

    int updateOrderByOrderId(int orderId);
}
